add /sbin to the $PATH and use ldconfig -p instead of ldconfig -v
authorVincent Hanquez <vincent@xensource.com>
Tue, 20 Feb 2007 14:12:12 +0000 (14:12 +0000)
committerVincent Hanquez <vincent@xensource.com>
Tue, 20 Feb 2007 14:12:12 +0000 (14:12 +0000)
tools/check/check_crypto_lib

index c7a2efbb49a342f14068624e3e4d61d4e250b8c7..8002f1d10978689158c14ec177709ba1da9bfb0a 100755 (executable)
@@ -3,8 +3,9 @@
 
 RC=0
 
+PATH=/sbin:$PATH
 set -e
-ldconfig -v 2>&1 | grep -q libcrypto.so || RC=1
+ldconfig -p 2>&1 | grep -q libcrypto.so || RC=1
 
 if test ${RC} -ne 0; then
         echo